package com.zzh.wsss.pojo;

public class UserMsg {
    private Integer id;
    private String username;
    private String nickname="无";
    private Integer jobId;
    private String jobName="无";
    private Long totalWorkHour;

    public UserMsg(Integer id, String username, String nickname, Integer jobId, String jobName, Long totalWorkHour) {
        this.id = id;
        this.username = username;
        this.nickname = nickname;
        this.jobId = jobId;
        this.jobName = jobName;
        this.totalWorkHour = totalWorkHour;
    }

    public UserMsg() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public Integer getJobId() {
        return jobId;
    }

    public void setJobId(Integer jobId) {
        this.jobId = jobId;
    }

    public String getJobName() {
        return jobName;
    }

    public void setJobName(String jobName) {
        this.jobName = jobName;
    }

    public Long getTotalWorkHour() {
        return totalWorkHour;
    }

    public void setTotalWorkHour(Long totalWorkHour) {
        this.totalWorkHour = totalWorkHour;
    }

    @Override
    public String toString() {
        return "UserMsg{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", nickname='" + nickname + '\'' +
                ", jobId=" + jobId +
                ", jobName='" + jobName + '\'' +
                ", totalWorkHour=" + totalWorkHour +
                '}';
    }
}
